package com.gitee.feizns.quickstart.spring.mqtt.spring.boot.autoconfigure.event;

import lombok.Getter;
import lombok.RequiredArgsConstructor;
import org.eclipse.paho.client.mqttv3.MqttMessage;

/**
 * @author feizns
 * @since 2025/5/22
 */
@Getter
@RequiredArgsConstructor
public class MqttMessageArrivedEvent {

    /**
     * 主题
     */
    private String topic;

    /**
     * 消息
     */
    private MqttMessage mqttMessage;

    public MqttMessageArrivedEvent(String topic, MqttMessage mqttMessage) {
    }
}
